<?php
/**
 * 菜单项
 *
 * @version        $Id: index_menu.php 1 11:06 2010年7月13日Z tianya $
 * @package        DedeCMS.Administrator
 * @copyright      Copyright (c) 2007 - 2010, DesDev, Inc.
 * @license        http://help.dedecms.com/usersguide/license.html
 * @link           http://www.dedecms.com
 */
require(dirname(__FILE__).'/config.php');
require(DEDEADMIN.'/inc/inc_menu.php');
require(DEDEADMIN.'/inc/inc_menu_func.php');
$openitem = (empty($openitem) ? 1 : $openitem);

$menus=[];
$menus=[
  ['id'=>1,'name'=>'核心'],
  ['id'=>100,'name'=>'模块'],
  ['id'=>5,'name'=>'生成'],
  ['id'=>3,'name'=>'采集'],
  ['id'=>6,'name'=>'会员'],
  
];
if($cuserLogin->getUserType() >= 10) {
    array_push($menus, ['id'=>7,'name'=>'模板'],['id'=>10,'name'=>'系统']);
}
ajaxReturnSuccess($menus);
//include DedeInclude('templets/index_menu2.htm');
